package com.gxnu.edu.cn.ttxxt.service;

import com.gxnu.edu.cn.ttxxt.entity.Friendship;

import java.util.List;

public interface FriendService {

    void sendFriendRequest(Long senderId, Long receiverId, String message);

    void acceptFriendRequest(Long receiverId, Long senderId);

    void rejectFriendRequest(Long receiverId, Long senderId);

    void deleteFriend(Long userId, Long friendId);

    void blockFriend(Long userId, Long friendId);

    void unblockFriend(Long userId, Long friendId);

    List<Friendship> getFriends(Long userId);

    List<Friendship> getBlockedFriends(Long userId);

    void updateFriendRemark(Long userId, Long friendId, String remark);

    void updateFriendGroup(Long userId, Long friendId, String groupName);
}
    